package com.ybkj.chat.module.dynamic.activity;

import android.view.Gravity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.ui.dialog.PwpCommenPicture;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 附近的人视频动态详情
 */
public class VideoDetailsActivity extends BaseMvpActivity {


    @BindView(R.id.iv_close)
    ImageView ivClose;
    @BindView(R.id.iv_more)
    ImageView ivMore;
    @BindView(R.id.tv_like)
    TextView tvLike;
    //标题
    @BindView(R.id.title)
    TextView title;
    @BindView(R.id.tv_edit)
    TextView tvEdit;
    @BindView(R.id.iv_communication)
    ImageView ivCommunication;

    private PwpCommenPicture pwpCommenPicture;

    @Override
    protected void injectPresenter() {


    }

    @Override
    protected void initTitle() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_video_details;
    }

    @Override
    protected void initView() {
        pwpCommenPicture = new PwpCommenPicture(mContext);
    }

    @Override
    protected void initData() {

    }


    @OnClick({R.id.iv_close, R.id.iv_more, R.id.tv_like, R.id.tv_edit, R.id.iv_communication})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_close:
                break;
            case R.id.iv_more:
                break;
            case R.id.tv_like:
                break;
            case R.id.tv_edit:
                break;
            case R.id.iv_communication:
                pwpCommenPicture.showAtLocation(ivCommunication, Gravity.BOTTOM, 0, 0);
                pwpCommenPicture.setBackgroundAlpha(mContext, 0.5f);
                break;
        }
    }
}
